<include file="public@header" />
<style>
	/*table{ border:1px solid #000; width:80%; font-size:1rem; margin-bottom:20px}
	td{border:1px solid #000; padding:0 5px; height:2rem; text-align:center}*/
	tr td input,tr td select{ max-width:80px;width:auto;}
	.content_nav .check_info{flex:1; display:flex;flex-direction: column;align-items: center;justify-content: center;}
</style>
</head>
<body>
	<div class="wrap js-check-wrap">        
    <form class="form-horizontal js-ajax-form" action="{:url('store/add_post')}" method="post" enctype="multipart/form-data">
        <fieldset>
        <div style=" width:515px; margin:0 0 20px 0px; padding:10px 0 10px 10px; border-bottom:1px SOLID #0b7ebf"> 客户信息 </div>
		<div class="control-group1-p div_content" style="border: none;padding-top:0">
						<div class="control-group1" style="width:100%;">
                            <label class="control-label" style="width:70px;">购买人姓名</label>
                            <div class="controls" style=" margin-left:80px;">
                                <input type="text" class="form-control" style="max-width:200px; width:auto;" value="￥10000" disabled>
                            </div>
                        </div>
                    	<div class="control-group1" style="width:50%;">
                            <label class="control-label" style="width:70px;">身份证号</label>
                            <div class="controls" style=" margin-left:80px;">
                                <input type="text" class="form-control" style="max-width:200px; width:auto;" value="￥10000" disabled>
                            </div>
                        </div>
                        <div class="control-group1" style="width:50%;">
                            <label class="control-label" style="width:70px;">联系电话</label>
                            <div class="controls" style=" margin-left:80px;">
                                <input type="text" class="form-control" style="max-width:200px; width:auto;" value="95折" disabled>
                            </div>
                        </div>
                        <div class="control-group1" style="width:50%;">
                            <label class="control-label" style="width:70px;">墓位编号</label>
                            <div class="controls" style=" margin-left:80px;">
                                <input type="text" class="form-control" style="max-width:200px; width:auto;" value="￥1000">
                            </div>
                        </div>
                        <div class="control-group1" style="width:50%;">
                            <label class="control-label" style="width:70px;">具体位置</label>
                            <div class="controls" style=" margin-left:80px;">
                                <input type="text" class="form-control" style="max-width:200px; width:auto;" value="￥9000" disabled>
                            </div>
                        </div>
                        <div class="control-group1" style="width:50%;">
                            <label class="control-label" style="width:70px;">下单时间</label>
                            <div class="controls" style=" margin-left:80px;">
                                <input type="text" class="form-control" style="max-width:200px; width:auto;" value="￥6000" disabled>
                            </div>
                        </div>
                        <div class="control-group1" style="width:50%;">
                            <label class="control-label" style="width:70px;">导购员</label>
                            <div class="controls" style=" margin-left:80px;">
                                <input type="text" class="form-control" style="max-width:200px; width:auto;" value="" disabled>
                            </div>
                        </div>
                        <!--<div class="control-group1" style="width:50%;">
                            <label class="control-label" style="width:70px;">付款方式</label>
                            <div class="controls" style=" margin-left:80px;">
                                <select name="cate">
                                    <option value="0">现金</option>
                                    <option value="0">转账</option>
                                    <option value="0">电汇</option>
                                    <option value="0">微信</option>
                                    <option value="0">支付宝</option>
                                    <option value="0">其他</option>
                                </select>
                            </div>
                        </div>-->
                         <div style="clear:both; width:515px; margin:0 0 20px 0px; padding:10px 0 10px 10px; border-bottom:1px SOLID #0b7ebf"> 定金 </div>
                         <div class="control-group1-p div_content" style="border: none;padding-top:0">
                         <div class="control-group1" style="width:50%;">
                            <label class="control-label" style="width:70px;"><font color="red" size="+1">*</font>收款日期</label>
                            <div class="controls" style=" margin-left:80px;">
                                <input type="text" class="form-control" style="max-width:200px; width:auto;" value="">
                            </div>
                        </div>
                        <div class="control-group1" style="width:50%;">
                            <label class="control-label" style="width:70px;"><font color="red" size="+1">*</font>失效日期</label>
                            <div class="controls" style=" margin-left:80px;">
                                <select name="cate" style="max-width:200px; width:auto;" class="form-control">
                                    <option value="0">30天及更多选择</option>
                                </select>
                            </div>
                        </div>
                        <div class="control-group1" style="width:50%;">
                            <label class="control-label" style="width:70px;"><font color="red" size="+1">*</font>收款金额</label>
                            <div class="controls" style=" margin-left:80px;">
                                <input type="text" class="form-control" style="max-width:200px; width:auto;" value="">
                            </div>
                        </div>
                        <div class="control-group1" style="width:50%;">
                            <label class="control-label" style="width:70px;"><font color="red" size="+1">*</font>收款方式</label>
                            <div class="controls" style=" margin-left:80px;">
                                <input type="text" class="form-control" style="max-width:200px; width:auto;" value="">
                            </div>
                        </div>
                        <div class="control-group1" style="width:50%;">
                            <label class="control-label" style="width:70px;">收款复核</label>
                            <div class="controls" style=" margin-left:80px;">
                                <div class="btn btn-primary" id="check-btn">确认收款</div>
                            </div>
                        </div>
                        <div class="control-group1" style="width:50%;">
                            <label class="control-label" style="width:70px;">定金单号</label>
                            <div class="controls" style=" margin-left:80px;">
                                <input type="text" class="form-control" style="max-width:200px; width:auto;" value="">
                            </div>
                        </div>
                        <div class="control-group1" style="width:50%">
                                <label class="control-label" style="width:70px;"><font color="red" size="+1">*</font>备注</label>
                                <div class="controls" style=" margin-left:80px;">
                                   <textarea cols="13" class="form-control"></textarea>
                                </div>
                            </div>
                        </div>
                        
                        <div class="form-actions" style="clear:both;">
                          <div class="btn btn-primary" id="check-btn">提交</div>
                          <div class="btn btn-primary" id="check-btn" onClick="javascript:parent.window.close()">关闭</div>
                        </div>
                    </div>
                </fieldset>
                </form>
                </div>
	<script type="text/javascript" src="__STATIC__/js/admin.js?v={:time()}"></script>
    
	<script type="text/javascript">
	 // 提交订单
	$("#check-btn").click(function(){
		$.post($("form").attr('action'), $("form").serialize(), function(result){
			if(result.state == 'success'){
				alert("保存成功！");
				$('#js-dialog-close').click();
			} else {
				alert(result.info);
			}
		}, 'json');
	});
    </script>

</body>
</html>